Bookly\Lib\Entities\Notification A

Total Complexity 60
Dependencies 6
Dependents 24
Total lines 697
Lines of code 256
Logical lines of code 85
Comment lines 262
Methods 44
Properties 20

Methods 44

Method Rating Maintainability Complexity Lines of code
getTypes()
S
55 4 20
save()
S
59 4 14
initTypeIds()
S
51 2 28
initIcons()
S
53 2 25
initTitles()
S
55 2 18
matchesItemForStaff()
S
73 2 4
matchesItemForClient()
S
74 2 4
getSettingsObject()
S
71 2 6
getTypeId()
S
71 2 6
getIcon()
S
70 2 6
getTitle()
S
70 2 6
getTypeString()
S
75 2 4
getToCustomer()
S
82 1 3
setSubject()
S
77 1 4
getMessage()
S
82 1 3
setMessage()
S
77 1 4
getToStaff()
S
82 1 3
setToStaff()
S
77 1 4
getAttachIcs()
S
82 1 3
setToCustomer()
S
77 1 4
setName()
S
77 1 4
setAttachIcs()
S
77 1 4
getAttachInvoice()
S
82 1 3
setAttachInvoice()
S
77 1 4
getSettings()
S
82 1 3
setSettings()
S
77 1 4
getSubject()
S
82 1 3
setCustomRecipients()
S
77 1 4
getName()
S
82 1 3
getAssociated()
S
67 1 8
getCustomRecipients()
S
82 1 3
setToCustom()
S
77 1 4
getToCustom()
S
82 1 3
getTranslatedMessage()
S
77 1 3
getToAdmin()
S
82 1 3
setActive()
S
77 1 4
getActive()
S
82 1 3
setType()
S
77 1 4
getType()
S
82 1 3
setGateway()
S
77 1 4
getGateway()
S
82 1 3
getTranslatedSubject()
S
77 1 3
getWpmlName()
S
78 1 3
setToAdmin()
S
77 1 4